package models

type PlatformDiscount struct {
	// 用户id
	ID uint64 `gorm:"column:id" json:"id"`
	// 平台id
	PlatformID uint64 `gorm:"column:platform_id" json:"platform_id"`
	// 类别
	Category uint32 `gorm:"column:category" json:"category"`
	// 平台折扣
	Discount float64 `gorm:"column:discount" json:"discount"`
}

func (PlatformDiscount) TableName() string {
	return "platform_discount"
}
